import 'package:cook_dinner/config/include.dart';
import 'package:flutter/material.dart';

class CaloricTop extends StatelessWidget {
  const CaloricTop({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.only(
        right: 32.6.rpx,
        left: 44.rpx,
        bottom: 45.rpx,
      ),
      child: Row(
        crossAxisAlignment: CrossAxisAlignment.end,
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Text(
                '嗨，小张',
                style: TextStyle(
                  fontSize: 18.rpx,
                  color: const Color(0xff2B395B),
                ),
              ),
              SizedBox(height: 10.rpx),
              Text(
                'Good Morning',
                style: TextStyle(
                  fontSize: 24.rpx,
                  color: const Color(0xff2B395B),
                  fontWeight: FontWeight.w600,
                ),
              ),
            ],
          ),
          Padding(
            padding: EdgeInsets.only(bottom: 3.rpx),
            child: Image.asset(
              'assets/images/gooduser.png',
              width: 79.rpx,
              height: 79.rpx,
            ),
          ),
        ],
      ),
    );
  }
}
